package com.github.ecbp.store.service.vo;

import com.github.ecbp.common.resp.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author Created by Alex·He on 2020/5/5 9:33
 * @Version 1.0
 * @Description 商品SKU的VO
 */
@ApiModel
@Data
public class ProductSkuVO extends BaseVO {
    private static final long serialVersionUID = -5048654334888753993L;

    /**
     * 商品货号
     */
    @ApiModelProperty("商品货号")
    private String productSn;

    /**
     * 商品价格
     */
    @ApiModelProperty("商品价格")
    private BigDecimal price;

    /**
     * 市场零售价
     */
    @ApiModelProperty("市场零售价")
    private BigDecimal originalPrice;

    /**
     * 库存
     */
    @ApiModelProperty("库存")
    private Integer stock;

    /**
     * 预警库存
     */
    @ApiModelProperty("预警库存")
    private Integer lowStock;

    /**
     * 销量
     */
    @ApiModelProperty("销量")
    private Integer saleAmount;
}
